﻿using System;
using System.Collections.Generic;
using System.Text;

/// <summary>
/// 场景状态的基础接口
/// </summary>
public class ISceneState
{
    /// <summary>
    /// 场景名称
    /// </summary>
    private String mSceneName;

    public string SceneName {
        get { return mSceneName; }
    }

    /// <summary>
    /// 场景控制器
    /// </summary>
    protected SceneStateController mController;

    public ISceneState(String sceneName,SceneStateController controller)
    {
        mSceneName = sceneName;
        mController = controller;
    }

    public virtual void StateStart()  {  }

    public virtual void StateEnd() { }

    public virtual void StateUpdate()  { }

}

